package com.tryee.wx.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tryee.common.base.BaseEntity;
import java.util.Date;

/**
 * 微信用户表 wx_user
 * 
 * @author tryee
 * @date 2019-03-29
 */
public class User extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 用户标识 */
	private String openid;
	/** unionid */
	private String unionid;
	/** 是否订阅 */
	private Integer subscribe;
	/** 昵称 */
	private String nickname;
	/** 性别 */
	private Integer sex;
	/** 语言 */
	private String language;
	/** 城市 */
	private String city;
	/** 省份 */
	private String province;
	/** 国家 */
	private String country;
	/** 头像 */
	private String headimgurl;
	/** 关注时间 */

	private String subscribeTime;
	/** 备注 */
	private String remark;
	/** 分组ID */
	private String groupid;
	/** 标签ID列表 */
	private String tagidList;
	/** 关注的渠道来源 */
	private String subscribeScene;
	/** 扫码场景 */
	private String qrScene;
	/** 扫码场景描述 */
	private String qrSceneStr;
	/** 创建时间 */
	private Date createTime;
	/** 更新时间 */
	private Date updateTime;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setOpenid(String openid) 
	{
		this.openid = openid;
	}

	public String getOpenid() 
	{
		return openid;
	}
	public void setUnionid(String unionid) 
	{
		this.unionid = unionid;
	}

	public String getUnionid() 
	{
		return unionid;
	}
	public void setSubscribe(Integer subscribe) 
	{
		this.subscribe = subscribe;
	}

	public Integer getSubscribe() 
	{
		return subscribe;
	}
	public void setNickname(String nickname) 
	{
		this.nickname = nickname;
	}

	public String getNickname() 
	{
		return nickname;
	}
	public void setSex(Integer sex) 
	{
		this.sex = sex;
	}

	public Integer getSex() 
	{
		return sex;
	}
	public void setLanguage(String language) 
	{
		this.language = language;
	}

	public String getLanguage() 
	{
		return language;
	}
	public void setCity(String city) 
	{
		this.city = city;
	}

	public String getCity() 
	{
		return city;
	}
	public void setProvince(String province) 
	{
		this.province = province;
	}

	public String getProvince() 
	{
		return province;
	}
	public void setCountry(String country) 
	{
		this.country = country;
	}

	public String getCountry() 
	{
		return country;
	}
	public void setHeadimgurl(String headimgurl) 
	{
		this.headimgurl = headimgurl;
	}

	public String getHeadimgurl() 
	{
		return headimgurl;
	}
	public void setSubscribeTime(String subscribeTime) 
	{
		this.subscribeTime = subscribeTime;
	}

	public String getSubscribeTime() 
	{
		return subscribeTime;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}
	public void setGroupid(String groupid) 
	{
		this.groupid = groupid;
	}

	public String getGroupid() 
	{
		return groupid;
	}
	public void setTagidList(String tagidList) 
	{
		this.tagidList = tagidList;
	}

	public String getTagidList() 
	{
		return tagidList;
	}
	public void setSubscribeScene(String subscribeScene) 
	{
		this.subscribeScene = subscribeScene;
	}

	public String getSubscribeScene() 
	{
		return subscribeScene;
	}
	public void setQrScene(String qrScene) 
	{
		this.qrScene = qrScene;
	}

	public String getQrScene() 
	{
		return qrScene;
	}
	public void setQrSceneStr(String qrSceneStr) 
	{
		this.qrSceneStr = qrSceneStr;
	}

	public String getQrSceneStr() 
	{
		return qrSceneStr;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("openid", getOpenid())
            .append("unionid", getUnionid())
            .append("subscribe", getSubscribe())
            .append("nickname", getNickname())
            .append("sex", getSex())
            .append("language", getLanguage())
            .append("city", getCity())
            .append("province", getProvince())
            .append("country", getCountry())
            .append("headimgurl", getHeadimgurl())
            .append("subscribeTime", getSubscribeTime())
            .append("remark", getRemark())
            .append("groupid", getGroupid())
            .append("tagidList", getTagidList())
            .append("subscribeScene", getSubscribeScene())
            .append("qrScene", getQrScene())
            .append("qrSceneStr", getQrSceneStr())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
